package com.gwctv.dto;

import com.gwctv.entity.Employee;
import io.swagger.v3.oas.annotations.media.Schema;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.Data;


@Data
@Tag(name = "新增员工dto类", description = "接收前端新增员工时向后端发送的json数据")
public class EmployeeDto {
    @Schema(name = "id", type = "long")
    private Long id;

    @Schema(name = "username", description = "用户名称", type = "string")
    private String username;

    @Schema(name = "name", description = "用户名", type = "string")
    private String name;

    @Schema(name = "sex", description = "性别", type = "string")
    private String sex;

    @Schema(name = "phone", description = "电话号码", type = "string")
    private String phone;

    @Schema(name = "idNumber", description = "id序号", type = "string")
    private String idNumber;
}
